﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="r_recebimentos.aspx.cs" Inherits="relatorios_r_recebimentos" %>
<%
    string Permissao_RelatoriosGerais = "" + this.Session["Permissao_RelatoriosGerais"];
    if (Permissao_RelatoriosGerais != "1")
    {
        this.Response.Redirect("login.aspx");
    }    
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Recebimentos</title>

    <!-- jquery -->
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

    <!-- chart js -->
    <script type="text/javascript" src="../js/chartjs/Chart.min.js"></script>

</head>
<body>
    <!-- chart setup -->
    <script type="text/javascript">
        $(window).ready(function () {

            var ctx = $("#myChart").get(0).getContext("2d");
            //var ctx = document.getElementById("myChart").getContext("2d");
            //var myNewChart = new Chart(ctx);

            var data = {
                labels: ["January", "February", "March", "April", "May", "June", "July"],
                datasets: [
            {
                label: "My First dataset",
                fillColor: "rgba(220,220,220,0.2)",
                strokeColor: "rgba(220,220,220,1)",
                pointColor: "rgba(220,220,220,1)",
                pointStrokeColor: "#fff",
                pointHighlightFill: "#fff",
                pointHighlightStroke: "rgba(220,220,220,1)",
                data: [65, 59, 80, 81, 56, 55, 40]
            },
            {
                label: "My Second dataset",
                fillColor: "rgba(151,187,205,0.2)",
                strokeColor: "rgba(151,187,205,1)",
                pointColor: "rgba(151,187,205,1)",
                pointStrokeColor: "#fff",
                pointHighlightFill: "#fff",
                pointHighlightStroke: "rgba(151,187,205,1)",
                data: [28, 48, 40, 19, 86, 27, 90]
            }]
            };

            var myLineChart = new Chart(ctx).Line(data);
        });
    </script>

    <!-- Chart Canvas -->
    <canvas id="myChart" width="400" height="400">
    </canvas>
</body>
</html>
